package com.meta.platform.contract.service.app.impl;

import com.meta.platform.contract.domain.tunnel.db.ContractInvoiceRepository;
import com.meta.platform.contract.intf.entity.ContractInvoice;
import com.meta.platform.contract.intf.ro.ContractInvoiceRo;
import com.meta.platform.contract.service.app.ContractInvoiceQryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *  合同发票表
 * @Title:      ContractInvoiceQryServiceImpl
 * @Author:     M.simple
 * @Remark:     The modified content
 * @CreateDate: 2020-12-08 15:53:38
 * @Version:    v2.0
 */
@Service
public class ContractInvoiceQryServiceImpl implements ContractInvoiceQryService {

	@Autowired
	private ContractInvoiceRepository contractInvoiceRepository;

	/**
	 * list contractInvoice info
	 * @method      listContractInvoice
	 * @param       contractInvoice:
	 * @return      List<ContractInvoice>
	 * @author      M.simple
	 * @date        2020-12-08 15:53:38
	 */
	@Override
	public List<ContractInvoice> listContractInvoice(ContractInvoiceRo contractInvoice){
			return contractInvoiceRepository.listContractInvoice(contractInvoice);
	}

}
